package com.by.mapper;

import com.by.pojo.Order;
import com.by.pojo.OrderSetting;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface OrderSettingMapper {
    //多个参数加@Param注解

    void addOrderSetting(@Param("orderDate") String orderDate, @Param("number") String number);

    int getCountOfOrderSettingByOrderDate(String orderDate);

    void deleteOrderSettingByOrderDate(String orderDate);

    List<OrderSetting> getOrderSettingByMonth(String date);
}
